package cn.javass.dp.visitor.example1;

public class ConcreateElementA extends Element {
    @Override
    public void accept(Visitor visitor) {
        visitor.visitConcreteElementA(this);
    }

    public void operationA() {
        //已有的功能实现
        System.out.println("A的实现方法");
    }

}
